
cmake_minimum_required (VERSION 3.8)

project ("YaoPlayer")

SET(CMAKE_CXX_STANDARD 17)

SET(CMAKE_EXE_LINKER_FLAGS
    "-framework IOKit -framework AudioToolbox -framework CoreGraphics -framework CoreMedia -framework Cocoa -framework VideoToolbox -framework AVFoundation -framework Security -framework CoreFoundation -framework CoreVideo -framework OpenGL -framework AppKit -framework CoreImage -framework VideoDecodeAcceleration"
    )

# 包含子项目。
add_subdirectory ("YaoAV")
add_subdirectory ("YaoPlayer")
add_subdirectory("YaoCustomIOTest")


